package StructuralPatterns.Composite;

public abstract class OrganizationComponent {

  private String name;
  private String des;

  public OrganizationComponent(String name, String des) {
    this.des = des;
    this.name = name;
  }

  public String getDes() {
    return des;
  }

  public String getName() {
    return name;
  }

  protected void add(OrganizationComponent organizationComponent){

  }

  protected void remove(OrganizationComponent organizationComponent){

  }

  protected abstract void print();
}
